-
Home
-
Booking for Appointments and Events Calendar – Amelia
-
1.2.34
-
Code
-
Classes
- SquareService
| Total Complexity |
62 |
| Dependencies |
23 |
| Dependents |
0 |
| Total lines |
457 |
| Lines of code |
246 |
| Logical lines of code |
162 |
| Comment lines |
113 |
| Methods |
19 |
| Properties |
1 |
Methods 19
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| preparePaymentRequest() |
A |
40 |
13 |
54 |
| execute() |
A |
45 |
8 |
43 |
| getPaymentLink() |
A |
55 |
8 |
17 |
| updatePaymentLink() |
S |
58 |
4 |
15 |
| refreshAccessToken() |
S |
54 |
3 |
23 |
| getCountryCodeByLocationId() |
S |
65 |
4 |
8 |
| getLocations() |
S |
71 |
3 |
5 |
| getTransactionAmount() |
S |
67 |
3 |
7 |
| refund() |
S |
61 |
2 |
11 |
| disconnectAccount() |
S |
62 |
2 |
11 |
| getClient() |
S |
63 |
2 |
10 |
| getApiResponse() |
S |
63 |
2 |
10 |
| getLocation() |
S |
70 |
2 |
5 |
| __construct() |
S |
75 |
1 |
4 |
| getOrderResponse() |
S |
78 |
1 |
3 |
| completePayment() |
S |
78 |
1 |
3 |
| getErrorMessage() |
S |
66 |
1 |
10 |
| isAccessTokenExpired() |
S |
78 |
1 |
3 |
| getAuthUrl() |
S |
75 |
1 |
4 |